package com.yxc.plan.wolf.service.interfaces;

import com.yxc.plan.wolf.common.ServerResponse;
import com.yxc.plan.wolf.domain.Comment;
import com.yxc.plan.wolf.domain.po.AddCommentPO;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
* @Description : 
* @Author      : abc@vanke.com
* @Date        : 2018-12-17 19:28
*/
public interface CommentService {

    ServerResponse add(AddCommentPO addCommentPO);

    ServerResponse<List<Comment>> list(Long tweetId, Pageable pageable);
}
